﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_credit_card_ViewCCDetails : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session[CE.Global.General.UserId] == null)
        {
            Response.Redirect("~/Admin/AdminSecureLogin.aspx");
        }
    }
    protected void grvCCDetails_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (grvCCDetails.Rows.Count > 0)
        {
            string strCCId = grvCCDetails.SelectedDataKey.Values[0].ToString();
            Response.Redirect("AddNewCCardDetails.aspx?CCId=" + strCCId);
        }
    }
}
